package ch6;

public class UsbMouse implements USB {
	private String brand;
	private int money;

	public UsbMouse(String brand, int money) {
		super();
		this.brand = brand;
		this.money = money;
	}

	public void show() {
		System.out.println("这是一个" + brand + "鼠标，价格是" + money);

	}

	public void move() {
		System.out.println(brand + "在鼠标垫上移动");
	}

	@Override
	public void plugin() {
		System.out.println(brand + "鼠标接上了电脑，指示灯亮，开始工作了");
	}

	@Override
	public void unplugin() {
		System.out.println(brand + "鼠标从电脑上拔掉，指示灯熄灭，停止了工作");
	}

}
